package com.testing.class10;

import com.testing.app.AppKeyword;

/**
 * @Classname QQKwTest
 * @Description 类型说明
 * @Date 2022/10/26 21:02
 * @Created by 特斯汀Roy
 */
public class QQKwTest {
    public static void main(String[] args) {
        AppKeyword app = new AppKeyword();
        app.startAppiumServer("12345");
        app.startApp("12345", "com.tencent.mobileqq", "activity.SplashActivity", "127.0.0.1:62001");
//        app.clickAll("{id}com.tencent.mobileqq:id/btn_login");
//        app.clickAll("{aid}找回密码");
//        app.clickAll("{id}com.tencent.mobileqq:id/ivTitleBtnLeft");
//
//        app.input("//*[@content-desc='请输入QQ号码或手机或邮箱']","2798145476");
//        app.input("//*[@content-desc=\"密码 安全\"]","roy12345");
//
//        app.clickAll("{aid}登 录");
//        app.clickUnSure("//*[@content-desc=\"去授权按钮\"]");
//        app.click("//*[@text='允许']");
//        app.click("//*[@text='允许']");
//        app.adbSwipe("450","1200","450","600","1000");
        app.halt("5");
        app.appiumTap("64", "94");


    }


}
